/*
 * @Author: your name
 * @Date: 2020-07-29 18:13:43
 * @LastEditTime: 2020-08-05 17:00:59
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \dcg-vue-init\src\router\modules\user.js
 */
import layout from '@/layout'
const orderRouter = {
  path: '/order',
  component: layout,
  redirect: '/order/list',
  name: '订单模块',
  meta: {
    title: 'order',
    icon: 'order'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/order/list'),
      name: '订单列表',
      meta: { title: '订单列表' }
    },
    {
      path: 'edit',
      component: () => import('@/views/order/edit'),
      name: '编辑订单',
      meta: { title: 'edit order' }
    },
    {
      path: 'delete',
      component: () => import('@/views/order/delete'),
      name: '删除订单',
      meta: { title: 'add order' }
    },
    {
      path: 'add',
      component: () => import('@/views/order/add'),
      name: '添加订单',
      meta: { title: '添加订单' }
    }
  ]
}
export default orderRouter
